.class public final Lcom/ninesky/browser/view/e;
.super Landroid/widget/FrameLayout;


# instance fields
.field private a:Landroid/view/LayoutInflater;

.field private b:Lcom/ninesky/browser/BrowserActivity;

.field private c:Landroid/widget/GridView;

.field private d:Lcom/ninesky/browser/view/z;


# direct methods
.method public constructor <init>(Lcom/ninesky/browser/BrowserActivity;)V
    .locals 3

    const/4 v2, -0x1

    invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/ninesky/browser/view/e;->b:Lcom/ninesky/browser/BrowserActivity;

    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/e;->a:Landroid/view/LayoutInflater;

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->a:Landroid/view/LayoutInflater;

    const v1, 0x7f030005

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    new-instance v0, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v0, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/e;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v0, 0x7f0c0013

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/e;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/ninesky/browser/view/e;->c:Landroid/widget/GridView;

    new-instance v0, Lcom/ninesky/browser/view/z;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/z;-><init>(Lcom/ninesky/browser/view/e;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/e;->d:Lcom/ninesky/browser/view/z;

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->c:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/ninesky/browser/view/e;->d:Lcom/ninesky/browser/view/z;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->c:Landroid/widget/GridView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setVerticalFadingEdgeEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->c:Landroid/widget/GridView;

    new-instance v1, Lcom/ninesky/browser/view/bm;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/bm;-><init>(Lcom/ninesky/browser/view/e;)V

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/view/e;)Landroid/view/LayoutInflater;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->a:Landroid/view/LayoutInflater;

    return-object v0
.end method

.method static synthetic b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/e;->b:Lcom/ninesky/browser/BrowserActivity;

    return-object v0
.end method
